import request from '../utils/request';

export const fetchData = query => {
    return request({
        url: './table.json',
        method: 'get',
        params: query
    });
};

/**
 * 
 * @param {*} data 传的账目密码对象
 * @returns 登录接口
 */
export const Login = data => {
    return request({
        url: `/user/login.do`,
        method: "post",
        params: data
    });
};



